Liberal Safety for Answer Set Programs with External Sources
نویسندگان
چکیده
Answer set programs with external source access may introduce new constants that are not present in the program, which is known as value invention. As naive value invention leads to programs with infinite grounding and answer sets, syntactic safety criteria are imposed on programs. However, traditional criteria are in many cases unnecessarily strong and limit expressiveness. We present liberal domain-expansion (de-) safe programs, a novel generic class of answer set programs with external source access that has a finite grounding and allows for value invention. De-safe programs use so-called term bounding functions as a parameter for modular instantiation with concrete—e.g., syntactic or semantic or both—safety criteria. This ensures extensibility of the approach in the future. We provide concrete instances of the framework and develop an operator that can be used for computing a finite grounding. Finally, we discuss related notions of safety from the literature, and show that our approach is strictly more expressive.
منابع مشابه
Domain expansion for ASP-programs with external sources
Answer set programming (ASP) is a popular approach to declarative problem solving which for broader usability has been equipped with external source access. The latter may introduce new constants to the program (known as value invention), which can lead to infinite answer sets and non-termination; to prevent this, syntactic safety conditions on programs are common which considerably limit expre...
متن کاملAnswer Set Programming with External Sources
Answer set programming (ASP) is a declarative programming approach which has gained increasing attention in the last years. It is useful for many tasks in artificial intelligence, and many language extensions have advanced the paradigm into a strong modeling language. While the ASP programming paradigm has proved to be fruitful for a range of applications, current trends in distributed systems ...
متن کاملConstraint Answer Set Programming Based on HEX-Programs
Constraint Answer Set Programming (CASP) is a convenient integration of the Answer Set Programming (ASP) paradigm with constraint programming (CP), which was exploited for a range of applications. HEX-programs are another extension of ASP towards integration of arbitrary external sources through socalled external atoms. In this work, we integrate HEX-programs with CP, which results in a strict ...
متن کاملEfficient Evaluation of Answer Set Programs with External Sources Based on External Source Inlining
HEX-programs are an extension of answer set programming (ASP) towards external sources. To this end, external atoms provide a bidirectional interface between the program and an external source. Traditionally, HEX-programs are evaluated using a rewriting to ordinary ASP programs which guess truth values of external atoms; this yields answer set candidates whose guesses are verified by evaluating...
متن کاملIntegrazione Di Semantiche Multiple in Un Framework Con Semantica Answer Set Integration of Multiple Semantics in an Answer Set Framework 1
We briefly report on the development status of dlvhex, a reasoning engine for HEX-programs, which are nonmono-tonic logic programs with higher-order atoms and external atoms. Higher-order features are widely acknowledged as useful for various tasks and are essential in the context of meta-reasoning. Furthermore, the possibility to exchange knowledge with external sources in a fully declarative ...
متن کامل